<!-- SCRIPTS -->
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-core.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-service.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-ui.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-mapevents.js"></script>

<!-- BODY -->
<h1>Restrict Map Movement</h1>
<p>This example displays a moveable map of <b>Alcatraz Island</b>. Even though the map can still be panned and zoomed, the center of the map cannot be moved outside of the marked area</p>
<hr/>
<div id="map" style="width: 600px; height: 400px; background: grey"></div>

